package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Date;
import java.sql.Timestamp;
@Table(name = "quality_report")
public class QualityReport {
    @Id
    private Long id;
    @Column
    private Long batch_no;
    @Column
    private String name;
    @Column
    private String client;
    @Column
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    @Column
    private Long count;
    @Column
    private Float weight;
    @Column
    private Long twists;
    @Column
    private Long single_yarn_force;
    @Column
    private Long extensibility;
    @Column
    private Float sum_weight;
    @Column
    private Float avg_weigtht;
    @Column
    private Long sum_twists;
    @Column
    private Long avg_twists;
    @Column
    private Long sum_single_yarn_force;
    @Column
    private Long avg_single_yarn_force;
    @Column
    private Long sum_extensibility;
    @Column
    private Float avg_extensibility;
    @Column
    private String norm_num;
    @Column
    private String fact_num;
    @Column
    private Long norm_twists;
    @Column
    private Long fact_twists;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public QualityReport() {
    }

    public Long getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(Long batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getTwists() {
        return twists;
    }

    public void setTwists(Long twists) {
        this.twists = twists;
    }

    public Long getSingle_yarn_force() {
        return single_yarn_force;
    }

    public void setSingle_yarn_force(Long single_yarn_force) {
        this.single_yarn_force = single_yarn_force;
    }

    public Long getExtensibility() {
        return extensibility;
    }

    public void setExtensibility(Long extensibility) {
        this.extensibility = extensibility;
    }

    public Float getSum_weight() {
        return sum_weight;
    }

    public void setSum_weight(Float sum_weight) {
        this.sum_weight = sum_weight;
    }

    public Float getAvg_weigtht() {
        return avg_weigtht;
    }

    public void setAvg_weigtht(Float avg_weigtht) {
        this.avg_weigtht = avg_weigtht;
    }

    public Long getSum_twists() {
        return sum_twists;
    }

    public void setSum_twists(Long sum_twists) {
        this.sum_twists = sum_twists;
    }

    public Long getAvg_twists() {
        return avg_twists;
    }

    public void setAvg_twists(Long avg_twists) {
        this.avg_twists = avg_twists;
    }

    public Long getSum_single_yarn_force() {
        return sum_single_yarn_force;
    }

    public void setSum_single_yarn_force(Long sum_single_yarn_force) {
        this.sum_single_yarn_force = sum_single_yarn_force;
    }

    public Long getAvg_single_yarn_force() {
        return avg_single_yarn_force;
    }

    public void setAvg_single_yarn_force(Long avg_single_yarn_force) {
        this.avg_single_yarn_force = avg_single_yarn_force;
    }

    public Long getSum_extensibility() {
        return sum_extensibility;
    }

    public void setSum_extensibility(Long sum_extensibility) {
        this.sum_extensibility = sum_extensibility;
    }

    public Float getAvg_extensibility() {
        return avg_extensibility;
    }

    public void setAvg_extensibility(Float avg_extensibility) {
        this.avg_extensibility = avg_extensibility;
    }

    public String getNorm_num() {
        return norm_num;
    }

    public void setNorm_num(String norm_num) {
        this.norm_num = norm_num;
    }

    public String getFact_num() {
        return fact_num;
    }

    public void setFact_num(String fact_num) {
        this.fact_num = fact_num;
    }

    public Long getNorm_twists() {
        return norm_twists;
    }

    public void setNorm_twists(Long norm_twists) {
        this.norm_twists = norm_twists;
    }

    public Long getFact_twists() {
        return fact_twists;
    }

    public void setFact_twists(Long fact_twists) {
        this.fact_twists = fact_twists;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }
}
